<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <link rel="icon" type="image/png" href="/favicon.png">
    <link rel="stylesheet" href="/bulma.min.css">
    <title>Document</title>
</head>
<body>
    <img class="logo" src="/logo.svg" />
    <h1 class="title">Hapi world</h1>
    <script>
        $.ajax({
            url: 'http://localhost:3000/api/welcome/kenny'
        }).then(function (data) {
            console.log(data)
        })
    </script>
</body>
</html>